package com.winshare.saleAssistant.service;

import com.winshare.saleAssistant.domain.dto.req.*;
import com.winshare.saleAssistant.domain.dto.resp.OrganizationRespDTO;
import com.winshare.saleAssistant.util.Page;

import java.util.List;

public interface OrganizationService {

    Page<OrganizationRespDTO> getOrganizationList(OrganizationQueryDTO organizationReq);

    void save(OrganizationCreateDTO organizationCreateDTO);

    void update(OrganizationUpdateDTO organizationUpdateDTO);

    void delete(OrganizationDeleteDTO organizationUpdateDTO);

    OrganizationRespDTO getOrganizationDetail(BaseIdDTO baseIdDTO);

    List<Integer>  getChildrenOrgList(Integer orgId,String orgType);

}
